package cn.itsource.pethome.domain;

import lombok.Data;

import java.util.Date;

@Data
public class User {
    private Long id;
    //用户名
    private String username;
    //邮箱
    private String email;
    //手机号
    private String phone;
    //盐值
    private String salt;
    //密码
    private String password;
    //状态：-1表示禁用 0表示正常 2表示待激活
    private Integer state;
    private Integer age;
    private Date createtime = new Date();
    private String headImg;

}
